<?php



namespace App\Services\Other\Models;


use App\Services\Company\Models\Company;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class WechatPlatform extends Model
{

    protected $table = 'wechat_platform';

    protected $fillable = [
        'app_id','refresh_token','name','head_img','original','com_main_body','headimg','status','status','type','token','encodingaeskey','func_info','company_id','level'
    ];


    public function company()
    {
        return $this->belongsTo(Company::class, 'company_id');
    }


}
